.class public final Lnbisdk/kq;
.super Lnbisdk/h;

# interfaces
.implements Lnbisdk/iz;


# instance fields
.field private AC:Lnbisdk/qp;

.field private AD:Lnbisdk/ce;

.field private AE:Z

.field private AF:Z

.field private AG:Z

.field private AH:I

.field private AI:D

.field private AJ:D

.field private cB:Z

.field private dG:Lnbisdk/ag;

.field private e:Lnbisdk/px;

.field private mE:Lnbisdk/na;


# direct methods
.method public constructor <init>(Lnbisdk/qp;)V
    .locals 3

    const-wide/16 v1, 0x0

    const/4 v0, 0x0

    invoke-direct {p0}, Lnbisdk/h;-><init>()V

    iput-boolean v0, p0, Lnbisdk/kq;->AE:Z

    iput-boolean v0, p0, Lnbisdk/kq;->AF:Z

    iput-boolean v0, p0, Lnbisdk/kq;->AG:Z

    iput v0, p0, Lnbisdk/kq;->AH:I

    iput-wide v1, p0, Lnbisdk/kq;->AI:D

    iput-wide v1, p0, Lnbisdk/kq;->AJ:D

    iput-object p1, p0, Lnbisdk/kq;->AC:Lnbisdk/qp;

    return-void
.end method

.method private a(Lnbisdk/fk;Lnbisdk/px;)V
    .locals 3

    iget-object v0, p0, Lnbisdk/kq;->dG:Lnbisdk/ag;

    invoke-virtual {v0}, Lnbisdk/ag;->P()Lnbisdk/bb;

    move-result-object v0

    invoke-virtual {v0}, Lnbisdk/bb;->ba()I

    move-result v0

    const/4 v1, 0x1

    if-eq v0, v1, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    new-instance v0, Ljava/util/Vector;

    invoke-direct {v0}, Ljava/util/Vector;-><init>()V

    const-string v1, "speed-cameras"

    invoke-static {p1, v1}, Lnbisdk/ij$a;->c(Lnbisdk/fk;Ljava/lang/String;)Lnbisdk/fk;

    move-result-object v1

    if-eqz v1, :cond_2

    const-string v2, "place"

    invoke-virtual {v1, v2}, Lnbisdk/fk;->V(Ljava/lang/String;)Ljava/util/Enumeration;

    move-result-object v1

    if-eqz v1, :cond_2

    :goto_1
    invoke-interface {v1}, Ljava/util/Enumeration;->hasMoreElements()Z

    move-result v2

    if-eqz v2, :cond_2

    invoke-interface {v1}, Ljava/util/Enumeration;->nextElement()Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lnbisdk/fk;

    invoke-static {p0}, Lnbisdk/cu;->f(Lnbisdk/fk;)Lnbisdk/ep;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/util/Vector;->addElement(Ljava/lang/Object;)V

    goto :goto_1

    :cond_2
    invoke-virtual {p2}, Lnbisdk/px;->kv()Lnbisdk/op;

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Ljava/util/Vector;->size()I

    move-result v1

    if-lez v1, :cond_0

    new-instance v1, Lnbisdk/ft;

    invoke-direct {v1}, Lnbisdk/ft;-><init>()V

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    goto :goto_0
.end method

.method private a(Lnbisdk/px;)V
    .locals 5

    iget-object v1, p0, Lnbisdk/kq;->e:Lnbisdk/px;

    invoke-virtual {v1}, Lnbisdk/px;->kw()Lnbisdk/sd;

    move-result-object v0

    invoke-virtual {p1, v0}, Lnbisdk/px;->a(Lnbisdk/sd;)V

    invoke-virtual {p1}, Lnbisdk/px;->kz()Lnbisdk/sp;

    move-result-object v0

    invoke-virtual {v1}, Lnbisdk/px;->kz()Lnbisdk/sp;

    move-result-object v2

    invoke-virtual {v0, v2}, Lnbisdk/sp;->a(Lnbisdk/sp;)V

    invoke-virtual {v1}, Lnbisdk/px;->S()Lnbisdk/ln;

    move-result-object v0

    invoke-interface {v0}, Lnbisdk/ln;->iw()I

    move-result v2

    invoke-virtual {p1}, Lnbisdk/px;->S()Lnbisdk/ln;

    move-result-object v0

    invoke-interface {v0}, Lnbisdk/ln;->iw()I

    move-result v3

    const/4 v0, 0x0

    move v4, v0

    :goto_0
    if-ge v4, v2, :cond_0

    if-ge v4, v3, :cond_0

    const/4 v0, 0x2

    if-ge v4, v0, :cond_0

    invoke-virtual {v1}, Lnbisdk/px;->S()Lnbisdk/ln;

    move-result-object v0

    invoke-interface {v0, v4}, Lnbisdk/ln;->aI(I)Lnbisdk/hq;

    move-result-object p0

    check-cast p0, Lnbisdk/ju;

    invoke-virtual {p1}, Lnbisdk/px;->S()Lnbisdk/ln;

    move-result-object v0

    invoke-interface {v0, v4}, Lnbisdk/ln;->aI(I)Lnbisdk/hq;

    move-result-object v0

    check-cast v0, Lnbisdk/ju;

    invoke-virtual {v0, p0}, Lnbisdk/ju;->a(Lnbisdk/ju;)V

    add-int/lit8 v0, v4, 0x1

    move v4, v0

    goto :goto_0

    :cond_0
    return-void
.end method

.method private static c(Lnbisdk/so;)Z
    .locals 4

    const-wide v2, -0x3f70c80000000000L

    invoke-virtual {p0}, Lnbisdk/so;->getLatitude()D

    move-result-wide v0

    cmpl-double v0, v0, v2

    if-eqz v0, :cond_9

    invoke-virtual {p0}, Lnbisdk/so;->getLongitude()D

    move-result-wide v0

    cmpl-double v0, v0, v2

    if-eqz v0, :cond_9

    invoke-virtual {p0}, Lnbisdk/so;->getAreaName()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Lnbisdk/so;->getAreaName()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-gtz v0, :cond_8

    :cond_0
    invoke-virtual {p0}, Lnbisdk/so;->getStreet()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_1

    invoke-virtual {p0}, Lnbisdk/so;->getStreet()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-gtz v0, :cond_8

    :cond_1
    invoke-virtual {p0}, Lnbisdk/so;->getCity()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_2

    invoke-virtual {p0}, Lnbisdk/so;->getCity()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-gtz v0, :cond_8

    :cond_2
    invoke-virtual {p0}, Lnbisdk/so;->getCounty()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_3

    invoke-virtual {p0}, Lnbisdk/so;->getCounty()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-gtz v0, :cond_8

    :cond_3
    invoke-virtual {p0}, Lnbisdk/so;->getState()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_4

    invoke-virtual {p0}, Lnbisdk/so;->getState()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-gtz v0, :cond_8

    :cond_4
    invoke-virtual {p0}, Lnbisdk/so;->getPostalCode()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_5

    invoke-virtual {p0}, Lnbisdk/so;->getPostalCode()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-gtz v0, :cond_8

    :cond_5
    invoke-virtual {p0}, Lnbisdk/so;->getCountry()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_6

    invoke-virtual {p0}, Lnbisdk/so;->getCountry()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-gtz v0, :cond_8

    :cond_6
    invoke-virtual {p0}, Lnbisdk/so;->getAirport()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_7

    invoke-virtual {p0}, Lnbisdk/so;->getAirport()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-gtz v0, :cond_8

    :cond_7
    invoke-virtual {p0}, Lnbisdk/so;->getAddress()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_9

    invoke-virtual {p0}, Lnbisdk/so;->getAddress()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-lez v0, :cond_9

    :cond_8
    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_9
    const/4 v0, 0x0

    goto :goto_0
.end method

.method private lj()V
    .locals 2

    iget-object v0, p0, Lnbisdk/kq;->dG:Lnbisdk/ag;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lnbisdk/kq;->dG:Lnbisdk/ag;

    invoke-virtual {v0}, Lnbisdk/ag;->V()[B

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lnbisdk/kq;->dG:Lnbisdk/ag;

    invoke-virtual {v0}, Lnbisdk/ag;->V()[B

    move-result-object v0

    array-length v0, v0

    if-lez v0, :cond_0

    iget-object v0, p0, Lnbisdk/kq;->dG:Lnbisdk/ag;

    iget-object v1, p0, Lnbisdk/kq;->mE:Lnbisdk/na;

    invoke-virtual {v0, v1}, Lnbisdk/ag;->a(Lnbisdk/ln;)V

    iget-object v0, p0, Lnbisdk/kq;->dG:Lnbisdk/ag;

    invoke-virtual {p0, v0}, Lnbisdk/kq;->a(Lnbisdk/ag;)V

    :cond_0
    return-void
.end method


# virtual methods
.method public final a(Lnbisdk/ag;)V
    .locals 2

    iget-boolean v0, p0, Lnbisdk/kq;->cB:Z

    if-eqz v0, :cond_0

    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "Another request is in progress!"

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_0
    iput-object p1, p0, Lnbisdk/kq;->dG:Lnbisdk/ag;

    iget-object v0, p0, Lnbisdk/kq;->dG:Lnbisdk/ag;

    invoke-virtual {v0}, Lnbisdk/ag;->R()Z

    move-result v0

    iput-boolean v0, p0, Lnbisdk/kq;->AF:Z

    invoke-virtual {p1}, Lnbisdk/ag;->Q()Lnbisdk/oz;

    move-result-object v0

    sget-object v1, Lnbisdk/oz;->uL:Ljava/lang/Integer;

    invoke-virtual {v0, v1}, Lnbisdk/oz;->a(Ljava/lang/Integer;)Z

    move-result v0

    iput-boolean v0, p0, Lnbisdk/kq;->AG:Z

    iget-object v0, p0, Lnbisdk/kq;->AC:Lnbisdk/qp;

    invoke-interface {v0, p0}, Lnbisdk/qp;->onRequestStart(Lcom/navbuilder/nb/b;)V

    new-instance v0, Lnbisdk/ce;

    iget-object v1, p0, Lnbisdk/kq;->dG:Lnbisdk/ag;

    invoke-direct {v0, v1, p0}, Lnbisdk/ce;-><init>(Lnbisdk/ag;Lnbisdk/kq;)V

    iput-object v0, p0, Lnbisdk/kq;->AD:Lnbisdk/ce;

    const/4 v0, 0x1

    iput-boolean v0, p0, Lnbisdk/kq;->cB:Z

    iget-object v0, p0, Lnbisdk/kq;->AD:Lnbisdk/ce;

    invoke-virtual {v0}, Lnbisdk/ce;->start()V

    return-void
.end method

.method public final a(Lnbisdk/dz;)V
    .locals 1

    const/4 v0, 0x0

    iput-boolean v0, p0, Lnbisdk/kq;->cB:Z

    iget-object v0, p0, Lnbisdk/kq;->AC:Lnbisdk/qp;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lnbisdk/kq;->AC:Lnbisdk/qp;

    invoke-interface {v0, p0}, Lnbisdk/qp;->onRequestCancelled(Lcom/navbuilder/nb/b;)V

    :cond_0
    return-void
.end method

.method public final a(Lnbisdk/dz;I)V
    .locals 1

    iget-object v0, p0, Lnbisdk/kq;->AC:Lnbisdk/qp;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lnbisdk/kq;->AC:Lnbisdk/qp;

    invoke-interface {v0, p2, p0}, Lnbisdk/qp;->onRequestProgress(ILcom/navbuilder/nb/b;)V

    :cond_0
    return-void
.end method

.method public final a(Lnbisdk/dz;Lcom/navbuilder/nb/NBException;)V
    .locals 2

    const/4 v0, 0x0

    iput-boolean v0, p0, Lnbisdk/kq;->cB:Z

    iget-object v0, p0, Lnbisdk/kq;->AC:Lnbisdk/qp;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lnbisdk/kq;->dG:Lnbisdk/ag;

    invoke-virtual {v0}, Lnbisdk/ag;->R()Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lnbisdk/kq;->dG:Lnbisdk/ag;

    invoke-virtual {v0}, Lnbisdk/ag;->Q()Lnbisdk/oz;

    move-result-object v0

    sget-object v1, Lnbisdk/oz;->uL:Ljava/lang/Integer;

    invoke-virtual {v0, v1}, Lnbisdk/oz;->a(Ljava/lang/Integer;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lnbisdk/kq;->dG:Lnbisdk/ag;

    invoke-virtual {v0}, Lnbisdk/ag;->U()Z

    move-result v0

    if-eqz v0, :cond_2

    :cond_0
    iget-object v0, p0, Lnbisdk/kq;->AC:Lnbisdk/qp;

    invoke-interface {v0, p2, p0}, Lnbisdk/qp;->onRequestError(Lcom/navbuilder/nb/NBException;Lcom/navbuilder/nb/b;)V

    :cond_1
    :goto_0
    return-void

    :cond_2
    iget-object v0, p0, Lnbisdk/kq;->dG:Lnbisdk/ag;

    invoke-virtual {v0}, Lnbisdk/ag;->U()Z

    move-result v0

    if-nez v0, :cond_3

    iget v0, p0, Lnbisdk/kq;->AH:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lnbisdk/kq;->AH:I

    const/4 v1, 0x4

    if-ge v0, v1, :cond_3

    invoke-direct {p0}, Lnbisdk/kq;->lj()V

    goto :goto_0

    :cond_3
    iget-object v0, p0, Lnbisdk/kq;->AC:Lnbisdk/qp;

    if-eqz v0, :cond_1

    new-instance v0, Ljava/lang/Integer;

    const/16 v1, 0xbb9

    invoke-direct {v0, v1}, Ljava/lang/Integer;-><init>(I)V

    invoke-virtual {p2, v0}, Lcom/navbuilder/nb/NBException;->setCustomData(Ljava/lang/Object;)V

    iget-object v0, p0, Lnbisdk/kq;->AC:Lnbisdk/qp;

    invoke-interface {v0, p2, p0}, Lnbisdk/qp;->onRequestError(Lcom/navbuilder/nb/NBException;Lcom/navbuilder/nb/b;)V

    goto :goto_0
.end method

.method public final a(Lnbisdk/dz;Lnbisdk/fk;)V
    .locals 5

    const-wide/16 v3, 0x400

    const/4 v2, 0x2

    const/4 v0, 0x0

    :try_start_0
    iput-boolean v0, p0, Lnbisdk/kq;->cB:Z

    iget-object v0, p0, Lnbisdk/kq;->AC:Lnbisdk/qp;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lnbisdk/kq;->AC:Lnbisdk/qp;

    invoke-interface {v0, p0}, Lnbisdk/qp;->onRequestComplete(Lcom/navbuilder/nb/b;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :cond_0
    :goto_0
    return-void

    :catch_0
    move-exception v0

    const-string v1, "Internal Exception on route handling"

    invoke-static {v1, v3, v4, v2}, Lnbisdk/pn;->a(Ljava/lang/String;JB)V

    invoke-virtual {v0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1, v3, v4, v2}, Lnbisdk/pn;->a(Ljava/lang/String;JB)V

    iget-object v1, p0, Lnbisdk/kq;->AC:Lnbisdk/qp;

    if-eqz v1, :cond_0

    iget-object v1, p0, Lnbisdk/kq;->AC:Lnbisdk/qp;

    new-instance v2, Lcom/navbuilder/nb/NBException;

    const/16 v3, 0x42

    invoke-direct {v2, v3, v0}, Lcom/navbuilder/nb/NBException;-><init>(ILjava/lang/Exception;)V

    invoke-interface {v1, v2, p0}, Lnbisdk/qp;->onRequestError(Lcom/navbuilder/nb/NBException;Lcom/navbuilder/nb/b;)V

    goto :goto_0
.end method

.method public final b(Lnbisdk/dz;)V
    .locals 3

    const/16 v2, 0xbb9

    const/4 v0, 0x0

    iput-boolean v0, p0, Lnbisdk/kq;->cB:Z

    iget-object v0, p0, Lnbisdk/kq;->AC:Lnbisdk/qp;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lnbisdk/kq;->dG:Lnbisdk/ag;

    invoke-virtual {v0}, Lnbisdk/ag;->Q()Lnbisdk/oz;

    move-result-object v0

    sget-object v1, Lnbisdk/oz;->uL:Ljava/lang/Integer;

    invoke-virtual {v0, v1}, Lnbisdk/oz;->a(Ljava/lang/Integer;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lnbisdk/kq;->dG:Lnbisdk/ag;

    invoke-virtual {v0}, Lnbisdk/ag;->U()Z

    move-result v0

    if-eqz v0, :cond_2

    :cond_0
    iget-object v0, p0, Lnbisdk/kq;->AC:Lnbisdk/qp;

    invoke-interface {v0, p0}, Lnbisdk/qp;->onRequestTimedOut(Lcom/navbuilder/nb/b;)V

    :cond_1
    :goto_0
    return-void

    :cond_2
    iget-object v0, p0, Lnbisdk/kq;->dG:Lnbisdk/ag;

    invoke-virtual {v0}, Lnbisdk/ag;->U()Z

    move-result v0

    if-nez v0, :cond_3

    iget v0, p0, Lnbisdk/kq;->AH:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lnbisdk/kq;->AH:I

    const/4 v1, 0x4

    if-ge v0, v1, :cond_3

    invoke-direct {p0}, Lnbisdk/kq;->lj()V

    goto :goto_0

    :cond_3
    iget-object v0, p0, Lnbisdk/kq;->AC:Lnbisdk/qp;

    if-eqz v0, :cond_1

    new-instance v0, Lcom/navbuilder/nb/NBException;

    invoke-direct {v0, v2}, Lcom/navbuilder/nb/NBException;-><init>(I)V

    new-instance v1, Ljava/lang/Integer;

    invoke-direct {v1, v2}, Ljava/lang/Integer;-><init>(I)V

    invoke-virtual {v0, v1}, Lcom/navbuilder/nb/NBException;->setCustomData(Ljava/lang/Object;)V

    iget-object v1, p0, Lnbisdk/kq;->AC:Lnbisdk/qp;

    invoke-interface {v1, v0, p0}, Lnbisdk/qp;->onRequestError(Lcom/navbuilder/nb/NBException;Lcom/navbuilder/nb/b;)V

    goto :goto_0
.end method

.method public final cancelRequest()V
    .locals 1

    iget-boolean v0, p0, Lnbisdk/kq;->cB:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lnbisdk/kq;->AD:Lnbisdk/ce;

    invoke-virtual {v0}, Lnbisdk/ce;->cancel()V

    :cond_0
    const/4 v0, 0x0

    iput-boolean v0, p0, Lnbisdk/kq;->cB:Z

    return-void
.end method

.method public final h(Lnbisdk/fk;)V
    .locals 21

    const/4 v5, 0x0

    move v0, v5

    move-object/from16 v1, p0

    iput v0, v1, Lnbisdk/kq;->AH:I

    new-instance v14, Lnbisdk/px;

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/kq;->dG:Lnbisdk/ag;

    move-object v5, v0

    invoke-static {}, Lnbisdk/dn;->cC()Lnbisdk/dn;

    move-result-object v6

    invoke-direct {v14, v5, v6}, Lnbisdk/px;-><init>(Lnbisdk/ag;Lnbisdk/dn;)V

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/kq;->dG:Lnbisdk/ag;

    move-object v5, v0

    invoke-virtual {v5}, Lnbisdk/ag;->W()Z

    move-result v5

    if-eqz v5, :cond_0

    const/4 v5, 0x1

    invoke-virtual {v14, v5}, Lnbisdk/px;->b(Z)V

    :cond_0
    invoke-static {}, Lnbisdk/ix;->gN()Lnbisdk/ix;

    move-result-object v5

    invoke-virtual {v5}, Lnbisdk/ix;->gT()Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Lnbisdk/qw;

    invoke-virtual {v14, v5}, Lnbisdk/px;->a(Lnbisdk/qw;)V

    const/16 v6, 0xbb8

    invoke-virtual/range {p1 .. p1}, Lnbisdk/fk;->ae()Ljava/util/Enumeration;

    move-result-object v8

    const-wide/16 v9, 0x0

    const/4 v7, 0x0

    invoke-virtual {v14}, Lnbisdk/px;->S()Lnbisdk/ln;

    move-result-object v5

    check-cast v5, Lnbisdk/na;

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/kq;->dG:Lnbisdk/ag;

    move-object v11, v0

    invoke-virtual {v11}, Lnbisdk/ag;->O()Lnbisdk/ej;

    move-result-object v11

    invoke-virtual {v5, v11}, Lnbisdk/na;->c(Lnbisdk/ej;)V

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/kq;->dG:Lnbisdk/ag;

    move-object v11, v0

    invoke-virtual {v11}, Lnbisdk/ag;->N()Lnbisdk/ej;

    move-result-object v11

    invoke-virtual {v5, v11}, Lnbisdk/na;->a(Lnbisdk/ej;)V

    move v12, v6

    move-wide/from16 v19, v9

    move-wide/from16 v10, v19

    move v9, v7

    :cond_1
    :goto_0
    invoke-interface {v8}, Ljava/util/Enumeration;->hasMoreElements()Z

    move-result v6

    if-eqz v6, :cond_11

    invoke-interface {v8}, Ljava/util/Enumeration;->nextElement()Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Lnbisdk/fk;

    invoke-virtual {v6}, Lnbisdk/fk;->getName()Ljava/lang/String;

    move-result-object v7

    const-string v13, "nav-maneuver"

    invoke-virtual {v7, v13}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v13

    if-eqz v13, :cond_2

    new-instance v7, Lnbisdk/ju;

    invoke-direct {v7, v6, v10, v11, v9}, Lnbisdk/ju;-><init>(Lnbisdk/fk;DI)V

    invoke-virtual {v7}, Lnbisdk/ju;->getDistance()D

    move-result-wide v15

    add-double/2addr v10, v15

    add-int/lit8 v6, v9, 0x1

    invoke-virtual {v5, v7}, Lnbisdk/na;->a(Lnbisdk/hq;)V

    move v9, v6

    goto :goto_0

    :cond_2
    const-string v13, "file"

    invoke-virtual {v7, v13}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v13

    if-eqz v13, :cond_3

    const-string v7, "name"

    invoke-static {v6, v7}, Lnbisdk/ok;->i(Lnbisdk/fk;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v7

    const-string v13, "data"

    invoke-virtual {v6, v13}, Lnbisdk/fk;->e(Ljava/lang/String;)[B

    move-result-object v6

    invoke-static {v7, v6}, Lnbisdk/na;->b(Ljava/lang/String;[B)V

    goto :goto_0

    :cond_3
    const-string v13, "origin-location"

    invoke-virtual {v7, v13}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v13

    if-eqz v13, :cond_5

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/kq;->dG:Lnbisdk/ag;

    move-object v7, v0

    invoke-virtual {v7}, Lnbisdk/ag;->O()Lnbisdk/ej;

    move-result-object v7

    if-eqz v7, :cond_4

    invoke-virtual {v7}, Lnbisdk/ej;->y()Lnbisdk/so;

    move-result-object v7

    invoke-static {v7}, Lnbisdk/kq;->c(Lnbisdk/so;)Z

    move-result v7

    if-nez v7, :cond_1

    :cond_4
    new-instance v7, Lnbisdk/ca;

    invoke-direct {v7, v6}, Lnbisdk/ca;-><init>(Lnbisdk/fk;)V

    new-instance v6, Lnbisdk/ej;

    iget-object v13, v7, Lnbisdk/ca;->name:Ljava/lang/String;

    invoke-virtual {v7}, Lnbisdk/ca;->bR()Lnbisdk/so;

    move-result-object v7

    invoke-direct {v6, v13, v7}, Lnbisdk/ej;-><init>(Ljava/lang/String;Lnbisdk/so;)V

    invoke-virtual {v5, v6}, Lnbisdk/na;->c(Lnbisdk/ej;)V

    goto :goto_0

    :cond_5
    const-string v13, "destination-location"

    invoke-virtual {v7, v13}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v13

    if-eqz v13, :cond_7

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/kq;->dG:Lnbisdk/ag;

    move-object v7, v0

    invoke-virtual {v7}, Lnbisdk/ag;->N()Lnbisdk/ej;

    move-result-object v7

    if-eqz v7, :cond_6

    invoke-virtual {v7}, Lnbisdk/ej;->y()Lnbisdk/so;

    move-result-object v7

    invoke-static {v7}, Lnbisdk/kq;->c(Lnbisdk/so;)Z

    move-result v7

    if-nez v7, :cond_1

    :cond_6
    new-instance v7, Lnbisdk/ca;

    invoke-direct {v7, v6}, Lnbisdk/ca;-><init>(Lnbisdk/fk;)V

    new-instance v6, Lnbisdk/ej;

    iget-object v13, v7, Lnbisdk/ca;->name:Ljava/lang/String;

    invoke-virtual {v7}, Lnbisdk/ca;->bR()Lnbisdk/so;

    move-result-object v7

    invoke-direct {v6, v13, v7}, Lnbisdk/ej;-><init>(Ljava/lang/String;Lnbisdk/so;)V

    invoke-virtual {v5, v6}, Lnbisdk/na;->a(Lnbisdk/ej;)V

    goto/16 :goto_0

    :cond_7
    const-string v13, "route-error"

    invoke-virtual {v7, v13}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v13

    if-eqz v13, :cond_e

    const-string v7, "type"

    invoke-static {v6, v7}, Lnbisdk/ok;->i(Lnbisdk/fk;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    const-string v7, "bad-origin"

    invoke-virtual {v7, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v7

    if-eqz v7, :cond_8

    const/16 v6, 0xbbb

    :goto_1
    move v12, v6

    goto/16 :goto_0

    :cond_8
    const-string v7, "bad-destination"

    invoke-virtual {v7, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v7

    if-eqz v7, :cond_9

    const/16 v6, 0xbba

    goto :goto_1

    :cond_9
    const-string v7, "no-route"

    invoke-virtual {v7, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v7

    if-eqz v7, :cond_a

    const/16 v6, 0xbbc

    goto :goto_1

    :cond_a
    const-string v7, "no-detour"

    invoke-virtual {v7, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v7

    if-eqz v7, :cond_b

    const/16 v6, 0xbc2

    goto :goto_1

    :cond_b
    const-string v7, "empty-route"

    invoke-virtual {v7, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v7

    if-eqz v7, :cond_c

    const/16 v6, 0xbbd

    goto :goto_1

    :cond_c
    const-string v7, "ped-route-too-long"

    invoke-virtual {v7, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-eqz v6, :cond_d

    const/16 v6, 0xbc3

    goto :goto_1

    :cond_d
    const/16 v6, 0xbb8

    goto :goto_1

    :cond_e
    const-string v13, "route-map"

    invoke-virtual {v7, v13}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v13

    if-eqz v13, :cond_f

    new-instance v13, Lnbisdk/oc;

    const-string v6, "route-map"

    move-object/from16 v0, p1

    move-object v1, v6

    invoke-static {v0, v1}, Lnbisdk/ij$a;->c(Lnbisdk/fk;Ljava/lang/String;)Lnbisdk/fk;

    move-result-object v6

    const/4 v7, 0x0

    const/16 v15, 0xc8

    invoke-direct {v13, v6, v7, v15}, Lnbisdk/oc;-><init>(Lnbisdk/fk;II)V

    iget-object v6, v13, Lnbisdk/oc;->tK:Ljava/util/Vector;

    invoke-virtual {v6}, Ljava/util/Vector;->size()I

    move-result v15

    invoke-virtual {v14}, Lnbisdk/px;->ky()Lnbisdk/qw;

    move-result-object v6

    check-cast v6, Lnbisdk/qw;

    const/4 v7, 0x0

    move/from16 v16, v7

    :goto_2
    move/from16 v0, v16

    move v1, v15

    if-ge v0, v1, :cond_1

    iget-object v7, v13, Lnbisdk/oc;->tK:Ljava/util/Vector;

    move-object v0, v7

    move/from16 v1, v16

    invoke-virtual {v0, v1}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v7

    check-cast v7, Lnbisdk/mo;

    invoke-virtual {v6, v7}, Lnbisdk/qw;->a(Lnbisdk/mo;)V

    add-int/lit8 v7, v16, 0x1

    move/from16 v16, v7

    goto :goto_2

    :cond_f
    const-string v13, "ferry-on-route"

    invoke-virtual {v7, v13}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v13

    if-eqz v13, :cond_10

    const-string v7, "num-ferries"

    invoke-virtual {v6, v7}, Lnbisdk/fk;->e(Ljava/lang/String;)[B

    move-result-object v6

    array-length v7, v6

    const/4 v13, 0x1

    if-ne v7, v13, :cond_1

    const/4 v7, 0x0

    aget-byte v6, v6, v7

    invoke-virtual {v5, v6}, Lnbisdk/na;->aT(I)V

    goto/16 :goto_0

    :cond_10
    const-string v13, "route-extents"

    invoke-virtual {v7, v13}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v7

    if-eqz v7, :cond_1

    const-string v7, "box"

    invoke-static {v6, v7}, Lnbisdk/ij$a;->c(Lnbisdk/fk;Ljava/lang/String;)Lnbisdk/fk;

    move-result-object v6

    const/4 v7, 0x0

    invoke-virtual {v6, v7}, Lnbisdk/fk;->A(I)Lnbisdk/fk;

    move-result-object v7

    const/4 v13, 0x1

    invoke-virtual {v6, v13}, Lnbisdk/fk;->A(I)Lnbisdk/fk;

    move-result-object v6

    new-instance v13, Lnbisdk/cs;

    const-string v15, "lat"

    invoke-static {v7, v15}, Lnbisdk/el;->a(Lnbisdk/fk;Ljava/lang/String;)D

    move-result-wide v15

    const-string v17, "lon"

    move-object v0, v7

    move-object/from16 v1, v17

    invoke-static {v0, v1}, Lnbisdk/el;->a(Lnbisdk/fk;Ljava/lang/String;)D

    move-result-wide v17

    move-object v0, v13

    move-wide v1, v15

    move-wide/from16 v3, v17

    invoke-direct {v0, v1, v2, v3, v4}, Lnbisdk/cs;-><init>(DD)V

    new-instance v7, Lnbisdk/cs;

    const-string v15, "lat"

    invoke-static {v6, v15}, Lnbisdk/el;->a(Lnbisdk/fk;Ljava/lang/String;)D

    move-result-wide v15

    const-string v17, "lon"

    move-object v0, v6

    move-object/from16 v1, v17

    invoke-static {v0, v1}, Lnbisdk/el;->a(Lnbisdk/fk;Ljava/lang/String;)D

    move-result-wide v17

    move-object v0, v7

    move-wide v1, v15

    move-wide/from16 v3, v17

    invoke-direct {v0, v1, v2, v3, v4}, Lnbisdk/cs;-><init>(DD)V

    invoke-virtual {v5, v13, v7}, Lnbisdk/na;->b(Lnbisdk/cs;Lnbisdk/cs;)V

    goto/16 :goto_0

    :cond_11
    const/16 v6, 0xbb8

    if-ne v12, v6, :cond_24

    invoke-virtual {v5}, Lnbisdk/na;->jg()Ljava/util/Vector;

    move-result-object v6

    invoke-virtual {v6}, Ljava/util/Vector;->size()I

    move-result v6

    if-nez v6, :cond_24

    const/16 v6, 0xbbd

    :goto_3
    invoke-virtual {v5, v6}, Lnbisdk/na;->c(S)V

    const-string v6, "route-id"

    move-object/from16 v0, p1

    move-object v1, v6

    invoke-static {v0, v1}, Lnbisdk/km;->f(Lnbisdk/fk;Ljava/lang/String;)[B

    move-result-object v6

    invoke-virtual {v5, v6}, Lnbisdk/na;->q([B)V

    move-object v0, v5

    move-object/from16 v1, p0

    iput-object v0, v1, Lnbisdk/kq;->mE:Lnbisdk/na;

    invoke-virtual {v14}, Lnbisdk/px;->S()Lnbisdk/ln;

    move-result-object v5

    check-cast v5, Lnbisdk/na;

    const-string v6, "traffic-flow"

    move-object/from16 v0, p1

    move-object v1, v6

    invoke-virtual {v0, v1}, Lnbisdk/fk;->V(Ljava/lang/String;)Ljava/util/Enumeration;

    move-result-object v7

    invoke-virtual {v5}, Lnbisdk/na;->iw()I

    move-result v8

    new-instance v9, Ljava/util/Vector;

    invoke-direct {v9}, Ljava/util/Vector;-><init>()V

    if-eqz v7, :cond_14

    :goto_4
    invoke-interface {v7}, Ljava/util/Enumeration;->hasMoreElements()Z

    move-result v6

    if-eqz v6, :cond_12

    invoke-interface {v7}, Ljava/util/Enumeration;->nextElement()Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Lnbisdk/fk;

    new-instance v10, Lnbisdk/pa;

    invoke-direct {v10, v6}, Lnbisdk/pa;-><init>(Lnbisdk/fk;)V

    invoke-virtual {v9, v10}, Ljava/util/Vector;->addElement(Ljava/lang/Object;)V

    goto :goto_4

    :cond_12
    new-instance v6, Lnbisdk/kq$1;

    move-object v0, v6

    move-object/from16 v1, p0

    invoke-direct {v0, v1}, Lnbisdk/kq$1;-><init>(Lnbisdk/kq;)V

    invoke-static {v9, v6}, Lnbisdk/qo;->b(Ljava/util/Vector;Lnbisdk/jt;)V

    invoke-virtual {v9}, Ljava/util/Vector;->size()I

    move-result v7

    const/4 v6, 0x0

    if-lez v7, :cond_23

    const/4 v6, 0x1

    sub-int v6, v7, v6

    invoke-virtual {v9, v6}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Lnbisdk/pa;

    move-object v10, v6

    :goto_5
    const/4 v6, 0x2

    sub-int v6, v7, v6

    move v7, v6

    :goto_6
    if-ltz v7, :cond_13

    invoke-virtual {v9, v7}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Lnbisdk/pa;

    invoke-virtual {v10, v6}, Lnbisdk/pa;->c(Lnbisdk/pa;)V

    add-int/lit8 v6, v7, -0x1

    move v7, v6

    goto :goto_6

    :cond_13
    const/4 v6, 0x0

    move v7, v6

    :goto_7
    if-ge v7, v8, :cond_14

    invoke-virtual {v5, v7}, Lnbisdk/na;->aI(I)Lnbisdk/hq;

    move-result-object v6

    check-cast v6, Lnbisdk/ju;

    invoke-virtual {v6, v10}, Lnbisdk/ju;->a(Lnbisdk/pa;)V

    add-int/lit8 v6, v7, 0x1

    move v7, v6

    goto :goto_7

    :cond_14
    invoke-virtual {v14}, Lnbisdk/px;->kx()Lnbisdk/g;

    move-result-object v5

    check-cast v5, Lnbisdk/g;

    invoke-virtual {v5}, Lnbisdk/g;->t()V

    new-instance v5, Lnbisdk/jc;

    const-string v6, "traffic-incidents"

    move-object/from16 v0, p1

    move-object v1, v6

    invoke-static {v0, v1}, Lnbisdk/ij$a;->c(Lnbisdk/fk;Ljava/lang/String;)Lnbisdk/fk;

    move-result-object v6

    invoke-direct {v5, v6, v14}, Lnbisdk/jc;-><init>(Lnbisdk/fk;Lnbisdk/px;)V

    new-instance v5, Lnbisdk/hs;

    const-string v6, "traffic-record-identifier"

    move-object/from16 v0, p1

    move-object v1, v6

    invoke-static {v0, v1}, Lnbisdk/ij$a;->c(Lnbisdk/fk;Ljava/lang/String;)Lnbisdk/fk;

    move-result-object v6

    const/4 v7, 0x0

    invoke-direct {v5, v6, v14, v7}, Lnbisdk/hs;-><init>(Lnbisdk/fk;Lnbisdk/px;I)V

    invoke-virtual {v14}, Lnbisdk/px;->kx()Lnbisdk/g;

    move-result-object v5

    check-cast v5, Lnbisdk/g;

    invoke-virtual {v5}, Lnbisdk/g;->u()V

    move-object/from16 v0, p0

    move-object/from16 v1, p1

    move-object v2, v14

    invoke-direct {v0, v1, v2}, Lnbisdk/kq;->a(Lnbisdk/fk;Lnbisdk/px;)V

    move-object/from16 v0, p0

    iget-boolean v0, v0, Lnbisdk/kq;->AG:Z

    move v5, v0

    if-eqz v5, :cond_15

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/kq;->e:Lnbisdk/px;

    move-object v5, v0

    if-eqz v5, :cond_1d

    move-object/from16 v0, p0

    move-object v1, v14

    invoke-direct {v0, v1}, Lnbisdk/kq;->a(Lnbisdk/px;)V

    const/4 v5, 0x0

    move-object v0, v5

    move-object/from16 v1, p0

    iput-object v0, v1, Lnbisdk/kq;->e:Lnbisdk/px;

    :cond_15
    :goto_8
    move-object/from16 v0, p0

    iget-boolean v0, v0, Lnbisdk/kq;->AG:Z

    move v5, v0

    if-eqz v5, :cond_16

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/kq;->dG:Lnbisdk/ag;

    move-object v5, v0

    invoke-virtual {v5}, Lnbisdk/ag;->U()Z

    move-result v5

    if-nez v5, :cond_17

    :cond_16
    move-object/from16 v0, p0

    iget-boolean v0, v0, Lnbisdk/kq;->AG:Z

    move v5, v0

    if-nez v5, :cond_19

    :cond_17
    invoke-virtual {v14}, Lnbisdk/px;->kz()Lnbisdk/sp;

    move-result-object v5

    const/4 v6, 0x1

    invoke-virtual {v5, v6}, Lnbisdk/sp;->R(Z)V

    const-wide/16 v5, 0x0

    const-wide/16 v7, 0x0

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/kq;->dG:Lnbisdk/ag;

    move-object v9, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/kq;->dG:Lnbisdk/ag;

    move-object v9, v0

    invoke-virtual {v9}, Lnbisdk/ag;->O()Lnbisdk/ej;

    move-result-object v9

    if-eqz v9, :cond_18

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/kq;->dG:Lnbisdk/ag;

    move-object v9, v0

    invoke-virtual {v9}, Lnbisdk/ag;->O()Lnbisdk/ej;

    move-result-object v9

    invoke-virtual {v9}, Lnbisdk/ej;->y()Lnbisdk/so;

    move-result-object v9

    invoke-virtual {v9}, Lnbisdk/so;->getLatitude()D

    move-result-wide v9

    move-wide v0, v9

    move-object/from16 v2, p0

    iput-wide v0, v2, Lnbisdk/kq;->AI:D

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/kq;->dG:Lnbisdk/ag;

    move-object v9, v0

    invoke-virtual {v9}, Lnbisdk/ag;->O()Lnbisdk/ej;

    move-result-object v9

    invoke-virtual {v9}, Lnbisdk/ej;->y()Lnbisdk/so;

    move-result-object v9

    invoke-virtual {v9}, Lnbisdk/so;->getLongitude()D

    move-result-wide v9

    move-wide v0, v9

    move-object/from16 v2, p0

    iput-wide v0, v2, Lnbisdk/kq;->AJ:D

    :cond_18
    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/kq;->mE:Lnbisdk/na;

    move-object v9, v0

    if-eqz v9, :cond_22

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/kq;->mE:Lnbisdk/na;

    move-object v9, v0

    invoke-virtual {v9}, Lnbisdk/na;->iw()I

    move-result v9

    if-lez v9, :cond_22

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/kq;->mE:Lnbisdk/na;

    move-object v9, v0

    const/4 v10, 0x0

    invoke-virtual {v9, v10}, Lnbisdk/na;->aI(I)Lnbisdk/hq;

    move-result-object v9

    invoke-interface {v9}, Lnbisdk/hq;->fW()Lnbisdk/go;

    move-result-object v9

    if-eqz v9, :cond_22

    invoke-virtual {v9}, Lnbisdk/go;->fl()I

    move-result v10

    if-lez v10, :cond_22

    const/4 v5, 0x0

    invoke-virtual {v9, v5}, Lnbisdk/go;->aa(I)D

    move-result-wide v5

    const/4 v7, 0x0

    invoke-virtual {v9, v7}, Lnbisdk/go;->ab(I)D

    move-result-wide v7

    move-wide v11, v7

    move-wide v9, v5

    :goto_9
    move-object/from16 v0, p0

    iget-wide v0, v0, Lnbisdk/kq;->AI:D

    move-wide v5, v0

    const-wide/16 v7, 0x0

    cmpl-double v5, v5, v7

    if-eqz v5, :cond_19

    move-object/from16 v0, p0

    iget-wide v0, v0, Lnbisdk/kq;->AJ:D

    move-wide v5, v0

    const-wide/16 v7, 0x0

    cmpl-double v5, v5, v7

    if-eqz v5, :cond_19

    const-wide/16 v5, 0x0

    cmpl-double v5, v9, v5

    if-eqz v5, :cond_19

    const-wide/16 v5, 0x0

    cmpl-double v5, v11, v5

    if-eqz v5, :cond_19

    const-wide/high16 v15, 0x3ff8

    move-object/from16 v0, p0

    iget-wide v0, v0, Lnbisdk/kq;->AI:D

    move-wide v5, v0

    move-object/from16 v0, p0

    iget-wide v0, v0, Lnbisdk/kq;->AJ:D

    move-wide v7, v0

    const/4 v13, 0x0

    invoke-static/range {v5 .. v13}, Lnbisdk/kv;->a(DDDD[D)D

    move-result-wide v5

    mul-double/2addr v5, v15

    invoke-static {}, Lnbisdk/dn;->cC()Lnbisdk/dn;

    move-result-object v7

    invoke-virtual {v7}, Lnbisdk/dn;->cH()I

    move-result v7

    int-to-double v7, v7

    invoke-static {v5, v6, v7, v8}, Ljava/lang/Math;->max(DD)D

    :cond_19
    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/kq;->mE:Lnbisdk/na;

    move-object v5, v0

    invoke-virtual {v5}, Lnbisdk/na;->jh()V

    sget-boolean v5, Lnbisdk/bk;->cG:Z

    if-eqz v5, :cond_1a

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/kq;->mE:Lnbisdk/na;

    move-object v5, v0

    invoke-virtual {v5}, Lnbisdk/na;->getRouteID()[B

    move-result-object v5

    invoke-static {v5}, Lnbisdk/cq;->f([B)V

    const-string v5, "start"

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/kq;->mE:Lnbisdk/na;

    move-object v6, v0

    invoke-virtual {v6}, Lnbisdk/na;->O()Lnbisdk/ej;

    move-result-object v6

    invoke-static {v5, v6}, Lnbisdk/cq;->a(Ljava/lang/String;Lnbisdk/ej;)V

    const-string v5, "dest"

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/kq;->mE:Lnbisdk/na;

    move-object v6, v0

    invoke-virtual {v6}, Lnbisdk/na;->N()Lnbisdk/ej;

    move-result-object v6

    invoke-static {v5, v6}, Lnbisdk/cq;->a(Ljava/lang/String;Lnbisdk/ej;)V

    :cond_1a
    move-object/from16 v0, p0

    iget-boolean v0, v0, Lnbisdk/kq;->AF:Z

    move v5, v0

    if-nez v5, :cond_21

    move-object/from16 v0, p0

    iget-boolean v0, v0, Lnbisdk/kq;->AG:Z

    move v5, v0

    if-eqz v5, :cond_1f

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/kq;->mE:Lnbisdk/na;

    move-object v5, v0

    invoke-virtual {v5}, Lnbisdk/na;->jj()Z

    move-result v5

    if-nez v5, :cond_1e

    const/4 v5, 0x1

    :goto_a
    invoke-virtual {v14, v5}, Lnbisdk/px;->K(Z)V

    :goto_b
    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/kq;->AC:Lnbisdk/qp;

    move-object v5, v0

    invoke-interface {v5, v14}, Lnbisdk/qp;->a(Lnbisdk/ro;)V

    move-object/from16 v0, p0

    iget-boolean v0, v0, Lnbisdk/kq;->AG:Z

    move v5, v0

    if-eqz v5, :cond_1b

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/kq;->dG:Lnbisdk/ag;

    move-object v5, v0

    invoke-virtual {v5}, Lnbisdk/ag;->U()Z

    move-result v5

    if-eqz v5, :cond_20

    invoke-virtual {v14}, Lnbisdk/px;->kA()Z

    move-result v5

    if-eqz v5, :cond_20

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/kq;->dG:Lnbisdk/ag;

    move-object v5, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/kq;->mE:Lnbisdk/na;

    move-object v6, v0

    invoke-virtual {v6}, Lnbisdk/na;->getRouteID()[B

    move-result-object v6

    invoke-virtual {v5, v6}, Lnbisdk/ag;->b([B)V

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/kq;->dG:Lnbisdk/ag;

    move-object v5, v0

    const/4 v6, 0x0

    invoke-virtual {v5, v6}, Lnbisdk/ag;->a(Z)V

    const/4 v5, 0x0

    move v0, v5

    move-object/from16 v1, p0

    iput-boolean v0, v1, Lnbisdk/kq;->cB:Z

    :cond_1b
    :goto_c
    const/4 v5, 0x0

    move v0, v5

    move-object/from16 v1, p0

    iput-boolean v0, v1, Lnbisdk/kq;->AE:Z

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/kq;->dG:Lnbisdk/ag;

    move-object v5, v0

    const/4 v6, 0x0

    invoke-virtual {v5, v6}, Lnbisdk/ag;->y(I)V

    invoke-static {}, Lnbisdk/ix;->gN()Lnbisdk/ix;

    move-result-object v5

    invoke-virtual {v5}, Lnbisdk/ix;->gQ()Lnbisdk/hj;

    move-result-object v5

    const/16 v6, 0xd

    invoke-interface {v5, v6}, Lnbisdk/hj;->isEnabled(I)Z

    move-result v5

    if-eqz v5, :cond_1c

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/kq;->mE:Lnbisdk/na;

    move-object v5, v0

    const/4 v6, 0x0

    invoke-virtual {v5, v6}, Lnbisdk/na;->aL(I)J

    move-result-wide v5

    long-to-int v5, v5

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/kq;->mE:Lnbisdk/na;

    move-object v6, v0

    invoke-virtual {v6}, Lnbisdk/na;->getTotalDistance()D

    move-result-wide v6

    double-to-float v6, v6

    invoke-static {v5, v6}, Lnbisdk/by;->a(IF)V

    const-string v5, "new-route"

    if-eqz v14, :cond_1c

    invoke-interface {v14}, Lnbisdk/ro;->kw()Lnbisdk/sd;

    move-result-object v6

    if-eqz v6, :cond_1c

    invoke-interface {v14}, Lnbisdk/ro;->kw()Lnbisdk/sd;

    const-wide/16 v6, 0x0

    long-to-int v6, v6

    invoke-interface {v14}, Lnbisdk/ro;->kw()Lnbisdk/sd;

    const-wide/16 v7, 0x0

    double-to-float v7, v7

    invoke-static {v5, v6, v7}, Lnbisdk/by;->a(Ljava/lang/String;IF)V

    :cond_1c
    return-void

    :cond_1d
    move-object v0, v14

    move-object/from16 v1, p0

    iput-object v0, v1, Lnbisdk/kq;->e:Lnbisdk/px;

    goto/16 :goto_8

    :cond_1e
    const/4 v5, 0x0

    goto/16 :goto_a

    :cond_1f
    const/4 v5, 0x0

    invoke-virtual {v14, v5}, Lnbisdk/px;->K(Z)V

    goto/16 :goto_b

    :cond_20
    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/kq;->dG:Lnbisdk/ag;

    move-object v5, v0

    invoke-virtual {v5}, Lnbisdk/ag;->V()[B

    move-result-object v5

    if-eqz v5, :cond_1b

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/kq;->dG:Lnbisdk/ag;

    move-object v5, v0

    const/4 v6, 0x0

    invoke-virtual {v5, v6}, Lnbisdk/ag;->b([B)V

    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/kq;->dG:Lnbisdk/ag;

    move-object v5, v0

    const/4 v6, 0x1

    invoke-virtual {v5, v6}, Lnbisdk/ag;->a(Z)V

    goto :goto_c

    :cond_21
    move-object/from16 v0, p0

    iget-object v0, v0, Lnbisdk/kq;->AC:Lnbisdk/qp;

    move-object v5, v0

    invoke-interface {v5, v14}, Lnbisdk/qp;->b(Lnbisdk/ro;)V

    goto/16 :goto_c

    :cond_22
    move-wide v11, v7

    move-wide v9, v5

    goto/16 :goto_9

    :cond_23
    move-object v10, v6

    goto/16 :goto_5

    :cond_24
    move v6, v12

    goto/16 :goto_3
.end method

.method public final isRequestInProgress()Z
    .locals 1

    iget-boolean v0, p0, Lnbisdk/kq;->cB:Z

    return v0
.end method
